package com.xebest.web.form;

import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;


/**
 * @author 杜春静
 */
public class XeVenStoreCheckDetailForm {
    /**
     * 商品货号
     */
    @NotNull(message = "商品货号不能为空")
    @NotEmpty(message = "商品货号不能为空")
    private String proNum;

    /**
     * 商品名称
     */
    @NotNull(message = "商品名称不能为空")
    @NotEmpty(message = "商品名称不能为空")
    private String proName;

    /**
     * 商品分类
     */
    @NotNull(message = "商品分类编码不能为空")
    @NotEmpty(message = "商品分类编码不能为空")
    private String proCategoryId;

    @NotNull(message = "商品分类名称不能为空")
    @NotEmpty(message = "商品分类名称不能为空")
    private String proCategoryName;

    /**
     * 计价方式：1：重量2：数量
     */
    @NotNull(message = "计价方式不能为空")
    @NotEmpty(message = "计价方式不能为空")
    private Integer pricingType;

    /**
     * 单位
     */
    @NotNull(message = "商品单位不能为空")
    @NotEmpty(message = "商品单位不能为空")
    private String proUnit;


    /**
     * 商品规格值
     */
    @NotNull(message = "商品规格值不能为空")
    @NotEmpty(message = "商品规格值不能为空")
    private String proSpecValue;

    /**
     * 商品sku
     */
    @NotNull(message = "商品sku不能为空")
    @NotEmpty(message = "商品sku不能为空")
    private String proSku;

    /**
     * 库存数量
     */
    @NotNull(message = "商品库存数量不能为空")
    @NotEmpty(message = "商品库存数量不能为空")
    private BigDecimal stockNum;

    /**
     * 盘点数量
     */
    @NotNull(message = "商品盘点数量不能为空")
    @NotEmpty(message = "商品盘点数量不能为空")
    private BigDecimal checkStockNum;

    /**
     * 盘点差异
     */
    @NotNull(message = "商品盘点差异不能为空")
    @NotEmpty(message = "商品盘点差异不能为空")
    private BigDecimal checkStockDifference;

    /**
     * 盘点状态：1已盘点2未盘点
     */
    @NotNull(message = "商品盘点状态不能为空")
    @NotEmpty(message = "商品盘点状态不能为空")
    private Integer checkStockStatus;

    /**
     * 盘点结果：1盘盈2盘亏
     */
    @NotNull(message = "商品盘点结果不能为空")
    @NotEmpty(message = "商品盘点结果不能为空")
    private Integer checkStockResult;

    /**
     * @return the proNum
     */

    public String getProNum() {

        return proNum;
    }

    /**
     * @param proNum the proNum to set
     */

    public void setProNum(String proNum) {

        this.proNum = proNum;
    }

    /**
     * @return the proName
     */

    public String getProName() {

        return proName;
    }

    /**
     * @param proName the proName to set
     */

    public void setProName(String proName) {

        this.proName = proName;
    }

    /**
     * @return the proCategoryId
     */

    public String getProCategoryId() {

        return proCategoryId;
    }

    /**
     * @param proCategoryId the proCategoryId to set
     */

    public void setProCategoryId(String proCategoryId) {

        this.proCategoryId = proCategoryId;
    }

    /**
     * @return the proCategoryName
     */

    public String getProCategoryName() {

        return proCategoryName;
    }

    /**
     * @param proCategoryName the proCategoryName to set
     */

    public void setProCategoryName(String proCategoryName) {

        this.proCategoryName = proCategoryName;
    }

    /**
     * @return the pricingType
     */

    public Integer getPricingType() {

        return pricingType;
    }

    /**
     * @param pricingType the pricingType to set
     */

    public void setPricingType(Integer pricingType) {

        this.pricingType = pricingType;
    }

    /**
     * @return the proUnit
     */

    public String getProUnit() {

        return proUnit;
    }

    /**
     * @param proUnit the proUnit to set
     */

    public void setProUnit(String proUnit) {

        this.proUnit = proUnit;
    }

    /**
     * @return the proSpecValue
     */

    public String getProSpecValue() {

        return proSpecValue;
    }

    /**
     * @param proSpecValue the proSpecValue to set
     */

    public void setProSpecValue(String proSpecValue) {

        this.proSpecValue = proSpecValue;
    }

    /**
     * @return the proSku
     */

    public String getProSku() {

        return proSku;
    }

    /**
     * @param proSku the proSku to set
     */

    public void setProSku(String proSku) {

        this.proSku = proSku;
    }

    /**
     * @return the stockNum
     */

    public BigDecimal getStockNum() {

        return stockNum;
    }

    /**
     * @param stockNum the stockNum to set
     */

    public void setStockNum(BigDecimal stockNum) {

        this.stockNum = stockNum;
    }

    /**
     * @return the checkStockNum
     */

    public BigDecimal getCheckStockNum() {

        return checkStockNum;
    }

    /**
     * @param checkStockNum the checkStockNum to set
     */

    public void setCheckStockNum(BigDecimal checkStockNum) {

        this.checkStockNum = checkStockNum;
    }

    /**
     * @return the checkStockDifference
     */

    public BigDecimal getCheckStockDifference() {

        return checkStockDifference;
    }

    /**
     * @param checkStockDifference the checkStockDifference to set
     */

    public void setCheckStockDifference(BigDecimal checkStockDifference) {

        this.checkStockDifference = checkStockDifference;
    }

    /**
     * @return the checkStockStatus
     */

    public Integer getCheckStockStatus() {

        return checkStockStatus;
    }

    /**
     * @param checkStockStatus the checkStockStatus to set
     */

    public void setCheckStockStatus(Integer checkStockStatus) {

        this.checkStockStatus = checkStockStatus;
    }

    /**
     * @return the checkStockResult
     */

    public Integer getCheckStockResult() {

        return checkStockResult;
    }

    /**
     * @param checkStockResult the checkStockResult to set
     */

    public void setCheckStockResult(Integer checkStockResult) {

        this.checkStockResult = checkStockResult;
    }


}
  
